<template>
  <div>
    <div class="header">
      <router-link to="/find" exact>登录</router-link>
      <router-link to="/my">注册</router-link>
      <router-link to="/part">文章</router-link>
      <router-link to="/list">列表</router-link>
      <router-view></router-view>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style scoped>
.header {
  background-color: #fff;
  color: black;
  margin: 10px 20px;
}
.header a {
  margin-left: 10px;
  text-decoration: none;
}
.router-link-exact-active,
.router-link-active {
  color: red !important;
}
</style>
